package org.springframework.example.t0830.config;

import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.example.t0830.service.User;
import org.springframework.stereotype.Component;

/**
 * @author: baiml
 * @Title: AppConfig
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/8/30 14:43
 */
@ComponentScan("org.springframework.example.t0830")
public class AppConfig {




	//user1 ,user2就是别名,user就是bean的名字

//	@Bean({"user","user1","user2"})
//
//	public User user(){
//
//		return new User();
//
//	}

}
